<%@ page language="java" import="java.io.*,java.util.*,java.sql.*,eSat.*"%>
<%@include file="dbcon.jsp"%>

<%
    Statement Stmt = null;
    ResultSet Rs = null;
	try
	{
		String sQry		= "";
		String sHtml	= "";
		if ( request.getParameter("TblQry") != null )
			sQry = request.getParameter("TblQry");
	System.out.println("Count Qry : "+ sQry);		
		if ( !sQry.equals("") )
		{
			Stmt = Con.createStatement();
			Rs	= Stmt.executeQuery(sQry);
			if(Rs.next())
				sHtml = Rs.getString(1);
			Rs.close();
			Stmt.close();
		}
		Con.close();
	
		response.getWriter().write(sHtml);
	}
	catch(Exception e)
	{ System.out.println(e); }
%>